import { ApiProperty } from '@midwayjs/swagger'

import { BaseVO } from './base.vo'

/**
 * 岗位结果
 */
export class PostVO extends BaseVO implements Omit<ISysPostEntity, 'users'> {
  @ApiProperty({ description: '主键' })
  postId: string

  @ApiProperty({ description: '岗位编码' })
  postCode: string

  @ApiProperty({ description: '岗位名称' })
  postName: string

  @ApiProperty({ description: '显示顺序' })
  postSort: number

  @ApiProperty({ description: '状态' })
  status: string

  @ApiProperty({ description: '备注' })
  remark: string
}
